package com.jihu.design.behavioral.command;

/**
 * @author jihu
 * @date 2021/10/11
 */
public class TeacherTongInvoker {

    Command command;

    public void call(){
        command.execute();
    }

    public TeacherTongInvoker setCommand(Command command) {
        this.command = command;
        return this;
    }
}
